<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title><fmt:message key="titulo-sistema"/></title>
        <link rel="stylesheet" media="all" href="${pageScope.request.contextPath}css/estilos.css">
        <link rel="stylesheet" media="all" href="${pageScope.request.contextPath}css/bootstrap.css">
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/jquery-1.7.1.min.js"><\/script>')</script>
    </head>
    <body class="body-sessao">
       <div id="image-logo">
          <c:import url="${pageScope.request.contextPath}/imports/fundo.jsp"/>
       </div>
        <div id="logo">
         <c:import url="${pageScope.request.contextPath}/imports/fundo2palha.jsp"/>
      </div>
       <div id="barra-titulo">
          <c:import url="${pageScope.request.contextPath}/imports/barraTituloSessaoUser.jsp"/> 
       </div>
       <div id="conteudo-logomarca">
          <img src="img/logomarca.jpg">
          <p>
              <fmt:message key="conteudo-logomarca"/>
          </p>
      </div>
      <div id="red-login">

		<p>
			<fmt:message key="incentivo-login" />
			<br />
			</p>
	</div>
       <div id="formulario">
          <c:if test="${erroEnviarArquivo != null}">
              <font class="erro"><fmt:message key="erro-enviar-arquivo"/> </font>
          </c:if>
          <c:if test="${extensaoInvalida != null}">
              <font class="erro"><fmt:message key="extensao-invalida"/> </font>
          </c:if>
          <c:if test="${erroBanco != null}">
              <font class="erro"><fmt:message key="erroBanco"/> </font>
          </c:if>
          <c:if test="${erroDesconhecido != null}">
              <font class="erro"><fmt:message key="erro-desconhecido"/> </font>
          </c:if>
          <form action="uploadIMG" method="post" enctype="multipart/form-data">
             <font class="chocolate"><fmt:message key="${cadastrar != null ? 'cadastrar-imagem' : 'alterar-imagem'}"/></font> <br/><br/>
             <label for="imagem"><fmt:message key="imagem"/></label>
             <input type="file" name="imagem" class="btn"/> <br/> <br/>
             <input type="submit" class="btn btn-small btn-primary" value='<fmt:message key="enviar"/>'>
          </form>
       </div>
</body>
</html>